<?php 
namespace app\common\model;
use think\Model;
class Action extends Model{
	public function getTypeAttr($value){
		$arr = [1=>'系统',2=>'用户'];
		return $arr[$value];
	}
	public function getStatusAttr($value){
		$arr = [1=>'正常',0=>'禁用'];
		return $arr[$value];
	}
}